package com.iotechn.unimall.data.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dobbinsoft.fw.support.model.Page;
import com.iotechn.unimall.data.domain.ArticleDO;
import com.iotechn.unimall.data.dto.ArticleDTO;
import com.iotechn.unimall.data.vo.ArticleVO;
import org.apache.ibatis.annotations.Param;

public interface ArticleMapper extends BaseMapper<ArticleDO> {
    Page<ArticleDTO> pageArticle(IPage page,@Param("ew") QueryWrapper<ArticleDO> wrapper);

    Page<ArticleVO> pageAppArticle(IPage page,@Param("ew") QueryWrapper<ArticleDO> wrapper);
}
